function MultipleFieldsValidatorEvaluateIsValid(e) {
    controltovalidateIDs = e.controlstovalidate.split(",");
    switch (e.condition) {
        case "OR":
            for (var c in controltovalidateIDs) {
                var b = controltovalidateIDs[c];
                if (ValidatorTrim(ValidatorGetValue(b)) != "")
                { return true }
            }
            return false;
            break;
        case "XOR":
            for (var c in controltovalidateIDs) {
                var b = controltovalidateIDs[c];
                if (c == "0") {
                    var d = !(ValidatorTrim(ValidatorGetValue(b)) == "");
                    continue
                }
                var a = !(ValidatorTrim(ValidatorGetValue(b)) == "");
                if (a != d) { return true } d != a
            }
            return false;
            break;
        case "AND":
            for (var c in controltovalidateIDs) {
                var b = controltovalidateIDs[c];
                if (ValidatorTrim(ValidatorGetValue(b)) == "")
                { return false }
            }
            return true;
            break
    }
    return false
};